package com.jsb.laundry.feign;

import com.jsb.laundry.common.response.WebResponse;
import com.jsb.laundry.model.vo.LaundryCategoryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@Component
@FeignClient(value = "jsb-user-product-service", path = "/product")
public interface ProductServiceFeign {
    @PostMapping("/userProduct/findAllCateAndGoods")
    public WebResponse<List<LaundryCategoryVo>> findAllCateAndGoods();

}
